package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController(value = "/demo/")
public class DemoController {

    @GetMapping(value = "/one")
    @ResponseBody
    public String demo(){
      return "hello world！";
    }
}
